package www.wen.com.common.lib.base.fragment

import www.wen.com.common.R
import www.wen.com.common.databinding.FragmentWebBinding
import www.wen.com.common.lib.helper.loading.TitleBarUniversalAdapter


/**
 * @author WEN
 * @Description: 加载网页的
 * @date 2020/11/25 17:49
 */
class BrowseWebFragment : BaseWebFragment<FragmentWebBinding>() {

    override fun getTitleBarUniversalAdapter(): TitleBarUniversalAdapter = TitleBarUniversalAdapter(requireActivity(),mWebEntity.title,action = ::titleAction)

    override fun isEnableLoadingHelper(): Boolean = true

    override fun getLayoutId(): Int = R.layout.fragment_web

}